<html>
<head><meta charset="utf-8"><title>Get information on NodeId · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Get.20information.20on.20NodeId.html">Get information on NodeId</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="231572428"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Get%20information%20on%20NodeId/near/231572428" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> kwj2104 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Get.20information.20on.20NodeId.html#231572428">(Mar 24 2021 at 02:13)</a>:</h4>
<p>Hi all - I'm trying to fix a small diagnostic issue for warnings when imports are unused. I'm working with a method <code>check_import(&amp;mut self, id: ast::NodeId)</code> that helps figure out this situation, and I'd like to use the <code>NodeId</code> given to find the name of the import it's checking. Is there an easy way to do this (i.e., go from NodeId to more information about what that node represents or any idents related)? Thank you!</p>



<a name="231714696"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Get%20information%20on%20NodeId/near/231714696" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> kwj2104 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Get.20information.20on.20NodeId.html#231714696">(Mar 24 2021 at 21:49)</a>:</h4>
<p>On another note in case this question is not easily answerable, does anyone know which contributors/maintainers might be most familiar with diagnostics and resolution, that I could reach out to, or other forums/chat where I could ask around?</p>



<a name="231715459"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Get%20information%20on%20NodeId/near/231715459" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Get.20information.20on.20NodeId.html#231715459">(Mar 24 2021 at 21:55)</a>:</h4>
<p><span class="user-mention silent" data-user-id="123856">Vadim Petrochenkov</span> is probably the most familiar with resolution, <span class="user-mention silent" data-user-id="119031">Esteban Küber</span> is familiar with diagnostics</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>